package com.mingdong.first.diedaiqi;

public class Test {

	public static void main(String[] args) {
		
		ConcreteMyeeaa ccm = new ConcreteMyeeaa();
		
		ccm.addObj("1");
		ccm.addObj("2");
		ccm.addObj("3");
		
		MyIterater myIterater = ccm.createIterater();
		
		while(myIterater.hasNext()){
			System.out.println(myIterater.getCurrentObj());
			myIterater.next();
		}
		
	}

}
